//
//  RouterPrivateHandler.h
//  Pods
//
//  Created by Demi on 26/04/2017.
//
//

#import <Foundation/Foundation.h>
#import <base/base.h>

NS_ASSUME_NONNULL_BEGIN

typedef id _Nullable(^RouterHandlerBlock)(RouterRequest *request);

@interface RouterPrivateHandler : NSObject <RouterHandler>

- (instancetype)initWithPathPattern:(NSString *)pattern handle:(id _Nullable(^)(RouterRequest *request))handle;

@end

NS_ASSUME_NONNULL_END
